<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登录界面</title>
<link rel="stylesheet" href='style/login.css'/>
<script>
onload=function(){
    var fhjg=document.getElementById('fhjg').innerHTML;
    if(fhjg!=""){
        alert(fhjg);
        }
}
</script>

</head>
<body>
<!-----------导入hread.jsp--------------->
<%@include file="hread.jsp" %>
   <p class=title>问答登录系统</p>
    <div class=main> 
    <font color=red  id='fhjg' hidden>${fhjg}</font>
   <div class=main_left>
     <img src=image/登录界面.jpg  />
   </div>
   <div class=main_right>
       <h1>login</h1>
      <form action="login.do" method="POST" onsubmit="return check()">
       用户名：<input type='text' name='username' size=20 class=srk required placeholder="请输入用户名"><br>
       密&nbsp;&nbsp;&nbsp;码：<input type='text' name='password' size=20 class=srk required placeholder="请输入密码"><br>
       <input type='submit' value=登录 class=dlann><br>
       <p>没有账号点击这里--><a href=sign.jsp>注册</a></p>
    </form>
   </div>
   </div> 
</body>
</html>